﻿namespace XinGuanERP.Utils
{
    public class StrUtil
    {
        public static string FirstCharToUpper(string str)
        {
            if (str == null)
                return null;
            if (str.Length > 1)
                return char.ToUpper(str[0]) + str.Substring(1);
            return str.ToUpper();
        }

        public static string GUID()
        {
            return Guid.NewGuid().ToString().Replace("-", "").ToUpper();
        }
    }
}
